package com.example.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot.base.Result;
import com.example.springboot.pojo.UserInfo;
import org.springframework.transaction.annotation.Transactional;

import java.io.IOException;

/**
 * 用户行为逻辑的接口
 */

@Transactional
public interface UserInfoService extends IService<UserInfo> {

    Result userLogin(String username, String password);


    Result token(String token);//秘钥


    Result userRegister(String userName, String password);
}
